import java.util.Random;
import java.util.Scanner;

public class CallName {
    public static void main(String[] args){
        System.out.println("welcome to the CallName System!");
        System.out.println("you can input how many student you want to input:");
        Scanner input =  new Scanner(System.in);
        int studenNum = input.nexInt(); 
        String[] allStudents =  saveName(studenNum); 
        System.out.println("now you will see all the students");
        printName(allStudents);
        System.out.println("those students are called");
        randomCall(allStudnets); 
        System.out.println("thanks for your using");

    }
    public static String[] saveName(int x){
        String[] name = new String[x];
        for (int i = 0;i<x;i++){
            System.out.println("student[" + i + "]:");
            Scanner a = new  Scanner(System.in);
            
        }

    }
    public static void printName(String[] x){
        for (int i = 0;i<x.length;i++){
            System.out.println("student[" + i + "]:" + x[i]);
        } 
    }
    public static void randomCall(String[] x){
        //output some random numbers
        for(int i = 0;i<randomStudents;i++){

        }
        System.out.println("")

    }
}
